/*lass MySingleList {
    static class ListNode {
        public int val;
        public ListNode next;
        public ListNode(int val) {

            this.val = val;
        }
    }
    public ListNode head;
    public void display() {
        ListNode cur = head;
        while (cur != null) {
            System.out.print(cur.val + " ");
            cur = cur.next;
        }
    }

}

public class Test {
    class ListNode {
        public int val;
        public ListNode next;
        public ListNode(int val) {

            this.val = val;
        }
    }
    public ListNode head;
    public void display() {
        System.out.println(head.val);
    }

    public static void main(String[] args) {
        Test test = new Test();
        Test.ListNode tl = new Test().new ListNode(108);
        System.out.println(tl.val);
        test.display();
    }
}
*/



























